package maze;

/**
 * @author Denis Toikka
 * 
 */
public class Maze {
	
	/**
	 * Player could enter maze only from this room.
	 */
	public Room entry = new Room();
	/**
	 * Created to avoid some problems with null pointer exception.
	 * Wall of the maze.
	 */
	public static Room wall = new Room();
	/**
	 * Created to avoid some problems with null pointer exception.
	 * Room out of maze.
	 */
	public static Room out = new Room();
	
	/*  alternative creating maze structure
	 * 
	entry.name = "A4";
	Room a3 = entry.createNorth("A3");
	Room b3 = a3.createEast("B3");
	Room b4 = b3.createSouth("B4");
	Room c3 = b3.createEast("C3");
	Room c4 = c3.createSouth("C4");
	Room d3 = c3.createEast("D3");
	Room d4 = d3.createSouth("D4").createExit();
	Room c2 = c3.createNorth("C2");
	Room c1 = c2.createNorth("C1");
	Room d1 = c1.createEast("D1");
	Room d2 = d1.createNorth("D2").createPortal(false, d3);
	Room b2 = c2.createWest("B2");
	Room a2 = b2.createWest("A2").createExit();
	Room b1 = b2.createNorth("B1");
	Room a1 = b1.createWest("A1").createPortal(true, c4);
	*/
}